package com.hoshiicloud.lessee.feign;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hoshiicloud.common.query.OmnipotentWrapper;
import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.lessee.feign.hystrix.ShopSaleOrderFeignServiceFallback;
import com.hoshiicloud.saleorder.entity.*;
import com.hoshiicloud.saleorder.param.OrderInfoUpdateParam;
import com.hoshiicloud.saleorder.param.OrderMainUpdateParam;
import com.hoshiicloud.saleorder.param.refund.RefundOrderListParam;
import com.hoshiicloud.saleorder.param.refund.RefundOrderPageParam;
import com.hoshiicloud.saleorder.vo.refund.RefundOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 2019/8/23 11:05 qry
 */
@FeignClient(name = "hoshiicloud-sale-order", fallback = ShopSaleOrderFeignServiceFallback.class)
public interface ShopSaleOrderFeignService {

    @PostMapping("/saleorder/order-main/omniQueryOrderMain")
    Response<List<OrderMain>> omniQueryOrderMain(@RequestBody List<OmnipotentWrapper> wrappers);

}
